package com.scpii.api.persistence.auto;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.scpii.api.domain.auto.UserCars;

public interface UserCarsMapper {
	int deleteByPrimaryKey(String licenceId);

	int insert(UserCars record);

	int insertSelective(UserCars record);

	UserCars selectByPrimaryKey(String licenceId);

	int updateByPrimaryKeySelective(UserCars record);

	int updateByPrimaryKey(UserCars record);

	/**
	 * @param userId
	 * @param long1
	 * @return
	 */
	List<UserCars> getUserCarsByUserIdAndCatId(@Param("userId") Long userId,
			@Param("catId") Long catId);

}